//PASTE THIS CODE AT THE VERY TOP OF ALL PAGES WHICH USE DYNAMIC CONTENT $C['Version'] = 'ecv1.00'; //SETS THE VERSION OF THE EONCONNECT APPLICATION SUITE TO BE USED $C['LibPrefix'] = '/eclib/phplib/' . $C['Version']; //FINDS THE APPLICATION CODE ON THE SERVER $C['DbName'] = 'res_johns_ec'; //SETS THE DATABASE TO USE: require($C['LibPrefix'] . '/content_module/public/read.php'); //USES THE READ-ONLY CODE extract(getDetail(8)); //PULL IN CONTENT FROM THE CONTENT FOR PAGE WITH THE GIVEN ID NUMBER ENCLOSED IN PARENTHESES //(The Id number for each page is found in the site map) $Counts = getList($Id, array('Show' => array('Id'))); $NumItems = mysql_num_rows($Counts); if (!$PageFirstItem) $PageFirstItem = 0; $ItemsPerPage = 4; $NextPageStart = $PageFirstItem + $ItemsPerPage; $PreviousPageStart = $PageFirstItem - $ItemsPerPage; $Counter = $PageFirstItem + 1; ?>
|
|||||||||||||||||
|
|
![]() Catalogue Terms & Conditions Upcoming Sales if ($PageFirstItem > 0) { ?><Previous Page } ?> if ($NumItems >= ($NextPageStart - 1)) { ?>Next Page> } ?> Highlights from Our Priced Inventory if ($PageFirstItem > 0) { ?><PREVIOUS PAGE } ?> if ($NumItems >= ($NextPageStart - 1)) { ?>NEXT PAGE> } ?> |
||||||||||||||||